package cn.edu.cxcyzx.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.edu.cxcyzx.entity.AddStuApply;
import cn.edu.cxcyzx.entity.StuAndGroup;
import cn.edu.cxcyzx.entity.Student;

public interface StudentDao {
	
	public String getStuName(String stuId);
	
	public void upstuInfo(Student stu);
	
	public int insertStu(Student stu);
	
	public Student getStudent(String stuId);
	
	public List<Student> getAllStudent_stuNameAndGroupId(String stuName,int groupType);
	
	public List<Student> getAllStudent_stuName(@Param("stuName")String stuName);
	
	public List<Student> getAllStudent_groupId(int groupId);
	
	public List<Student> getAllStudent();
	//分页查询学生信息
	public List<Student> selectStudent(String stuName,int currIndex,int pageSize);
	
	
}
